package com.yanqu.road.entity.player;

import java.util.HashMap;
import java.util.Map;

/**
 * 用户验证信息
 */
public class UserVerificationItem {

    /**
     * 触发计数条件,满足其一即可验证
     * type,cnt
     */
    private Map<Integer, Integer> conditionMap = new HashMap<>();

    /**
     * 验证信息
     */
    private UserVerificationItemQA itemQA = new UserVerificationItemQA();


    /**
     * 验证失败次数
     */
    private int failureTimes;

    /**
     * 验证未通过次数
     */
    private int noPassTimes;

    /**
     * 禁止时间
     */
    private long forbiddenTime;

    public UserVerificationItem() {

    }

    public Map<Integer, Integer> getConditionMap() {
        return conditionMap;
    }

    public void setConditionMap(Map<Integer, Integer> conditionMap) {
        this.conditionMap = conditionMap;
    }

    public UserVerificationItemQA getItemQA() {
        return itemQA;
    }

    public void setItemQA(UserVerificationItemQA itemQA) {
        this.itemQA = itemQA;
    }

    public int getFailureTimes() {
        return failureTimes;
    }

    public void setFailureTimes(int failureTimes) {
        this.failureTimes = failureTimes;
    }

    public int getNoPassTimes() {
        return noPassTimes;
    }

    public void setNoPassTimes(int noPassTimes) {
        this.noPassTimes = noPassTimes;
    }

    public long getForbiddenTime() {
        return forbiddenTime;
    }

    public void setForbiddenTime(long forbiddenTime) {
        this.forbiddenTime = forbiddenTime;
    }
}
